glcontext-win32-wgl: Respect user required version, use display as minimum
authorPablo Correa Gómez <ablocorrea@hotmail.com>
Fri, 27 May 2022 22:58:43 +0000 (00:58 +0200)
committerPablo Correa Gómez <ablocorrea@hotmail.com>
Sat, 4 Jun 2022 18:48:40 +0000 (20:48 +0200)
commitd4f8a80f2a3d1043a37a69c2302b8293b48a4165
treebd9fde8dad679dae3a1134fc9113da53734550f2
parent8d175801d73612b1ca49e9fd47c3c0fed17c7552
glcontext-win32-wgl: Respect user required version, use display as minimum

By setting and then getting the required version in a context, the code
was not respecting user requirements. Instead, simply get the requested
version by the user clipped by the requirements (display version)
gdk/win32/gdkglcontext-win32-wgl.c